<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="p" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%String ctx = request.getContextPath(); %>

<script type="text/javascript" src="<%=ctx%>/js/validators/usertype.js"></script>

<div class="f_l margin1" style="width:100%">
    <div style="height:24px;color:red" align="center" id="errorInfo">${failInfo }${message}</div>
    <div style="height:24px;color:red;font-weight:bold" align="left">新增用户类型</div>
    <s:form id="submitForm" action="usertype!save" method="post" theme="simple">
    <table width="100%">
    	<tbody>
    		<tr>
    			<td width="10%"><s:text name="名称"/>：</td>
    			<td width="30%"><input type="text" id="usertype.name" name="usertype.name" value="${usertype.name}"/></td>
    		</tr>
    		<tr>
    			<td><input type="submit" value="确认" onclick="return doValidate(event);" /></td>
    			<td><input type="button" value="取消" onclick="javascript:history.back(-1);"/></td>
    			<td></td>
    			<td></td>
    		</tr>
    		
    	</tbody>
    </table>
    </s:form>
</div>
